package com.feeyo.monitor.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.feeyo.monitor.domain.VehicleType;

/**
 * 车辆类型类dao
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
@Mapper
public interface VehicleTypeMapper {
    int deleteByPrimaryKey(String id);

    int insert(VehicleType record);

    int insertSelective(VehicleType record);

    VehicleType selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(VehicleType record);

    int updateByPrimaryKey(VehicleType record);
    
    List<VehicleType> selectByUser(Map param);

    String selectIdByName(String name);

    List selectByDept(List<String> deptList);
}